package cn.edu.scau.cmi.ema.dao;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Crawlerfilestandard;
import org.springframework.dao.DataAccessException;

import java.util.Set;

public interface CrawlerfilestandardDAO extends JpaDao<Crawlerfilestandard> {

	public Crawlerfilestandard findCrawlerfilestandardById(Integer id) throws DataAccessException;

	public Crawlerfilestandard findCrawlerfilestandardById(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerfilestandard> findCrawlerfilestandardByName(String name) throws DataAccessException;

	public Set<Crawlerfilestandard> findCrawlerfilestandardByName(String name, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerfilestandard> findCrawlerfilestandardByNameContaining(String name_1) throws DataAccessException;

	public Set<Crawlerfilestandard> findCrawlerfilestandardByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerfilestandard> findCrawlerfilestandardByDescription(String description) throws DataAccessException;

	public Set<Crawlerfilestandard> findCrawlerfilestandardByDescription(String description, int startResult,
			int maxRows) throws DataAccessException;

	public Set<Crawlerfilestandard> findCrawlerfilestandardByDescriptionContaining(String description_1)
			throws DataAccessException;

	public Set<Crawlerfilestandard> findCrawlerfilestandardByDescriptionContaining(String description_1,
			int startResult, int maxRows) throws DataAccessException;

	public Crawlerfilestandard findCrawlerfilestandardByPrimaryKey(Integer id) throws DataAccessException;

	public Crawlerfilestandard findCrawlerfilestandardByPrimaryKey(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerfilestandard> findCrawlerfilestandardsByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Crawlerfilestandard> findAllCrawlerfilestandards() throws DataAccessException;

	public Set<Crawlerfilestandard> findAllCrawlerfilestandards(int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerfilestandard> findCrawlerfilestandardByCompositeProperities(String sql, int startResult,
			int maxRows) throws DataAccessException;

	public Set<Crawlerfilestandard> findCrawlerfilestandardsByDetachedCriteria(CmiPagination page)
			throws DataAccessException;

	public Crawlerfilestandard findCrawlerfilestandardByPhysicalPrimaryKey(String name) throws DataAccessException;

	public Crawlerfilestandard findCrawlerfilestandardByPhysicalPrimaryKey(String name, int startResult, int maxRows)
			throws DataAccessException;
}
